package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.content.pojo.param.ArticleCategoryParam;
import com.tarena.lbs.content.pojo.vo.ArticleCategoryVO;

public interface CategoryService {
    void addCategory(ArticleCategoryParam articleCategoryParam);

    Result<PageResult<ArticleCategoryVO>> selectCategory(String categoryName,Integer categoryStatus);

    Result<Integer> updateCategory(ArticleCategoryParam articleCategoryParam);

    void deleteCategory(ArticleCategoryParam articleCategoryParam);
}
